package com.sykj.manage.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @author 高志远
 *2018年9月13日下午3:01:59
 *用户基本信息表
 */
public class SysUser {
					private String user_id	;  //用户编号
					private String account	;   //用户登录帐号
					private String password;    //密码
					private String username;    //用户姓名
					private Integer lock_num ;  //锁定次数 默认5次
					private Integer error_num;  //密码错误次数  如果等于锁定次数就自动锁定用户
					private String sex;         //性别  1:男2:女3:未知
					private String status	;   //用户状态 1:正常2:停用 3:锁定
					private String user_type;   //用户类型
					private String dept_id	;    //所属部门流水号
					private String mobile	;    // 联系电话
					private String qq	;        //QQ号码
					private String wechat;       //微信
					private String email ;       //电子邮件
					private String idno;         //身份证号
					private String style ;       //界面风格
					private String address;      //联系地址
					private String remark;       //备注
					private String is_del;       //是否已删除 0有效 1删除
					@DateTimeFormat(pattern="yyyy-MM-dd")
					private Date create_time;    //创建时间
					@DateTimeFormat(pattern="yyyy-MM-dd")
					private Date startTime;
					@DateTimeFormat(pattern="yyyy-MM-dd")
					private Date endTime;
					private String create_user_id;  // 创建人ID
					private Date modify_time;       //修改时间
					private String modify_user_id;   //修改用户编号
					private UserRole user_Role;    //角色与用户关联
					private SysDept sysDept;      //组织机构
					public String getUser_id() {
						return user_id;
					}
					public void setUser_id(String user_id) {
						this.user_id = user_id;
					}
					public String getAccount() {
						return account;
					}
					public void setAccount(String account) {
						this.account = account;
					}
					public String getPassword() {
						return password;
					}
					public void setPassword(String password) {
						this.password = password;
					}
					public String getUsername() {
						return username;
					}
					public void setUsername(String username) {
						this.username = username;
					}
					public Integer getLock_num() {
						return lock_num;
					}
					public void setLock_num(Integer lock_num) {
						this.lock_num = lock_num;
					}
					public Integer getError_num() {
						return error_num;
					}
					public void setError_num(Integer error_num) {
						this.error_num = error_num;
					}
					public String getSex() {
						return sex;
					}
					public void setSex(String sex) {
						this.sex = sex;
					}
					public String getStatus() {
						return status;
					}
					public void setStatus(String status) {
						this.status = status;
					}
					public String getUser_type() {
						return user_type;
					}
					public void setUser_type(String user_type) {
						this.user_type = user_type;
					}
					public String getDept_id() {
						return dept_id;
					}
					public void setDept_id(String dept_id) {
						this.dept_id = dept_id;
					}
					public String getMobile() {
						return mobile;
					}
					public void setMobile(String mobile) {
						this.mobile = mobile;
					}
					public String getQq() {
						return qq;
					}
					public void setQq(String qq) {
						this.qq = qq;
					}
					public String getWechat() {
						return wechat;
					}
					public void setWechat(String wechat) {
						this.wechat = wechat;
					}
					public String getEmail() {
						return email;
					}
					public void setEmail(String email) {
						this.email = email;
					}
					public String getIdno() {
						return idno;
					}
					public void setIdno(String idno) {
						this.idno = idno;
					}
					public String getStyle() {
						return style;
					}
					public void setStyle(String style) {
						this.style = style;
					}
					public String getAddress() {
						return address;
					}
					public void setAddress(String address) {
						this.address = address;
					}
					public String getRemark() {
						return remark;
					}
					public void setRemark(String remark) {
						this.remark = remark;
					}
					public String getIs_del() {
						return is_del;
					}
					public void setIs_del(String is_del) {
						this.is_del = is_del;
					}
					public Date getCreate_time() {
						return create_time;
					}
					public void setCreate_time(Date create_time) {
						this.create_time = create_time;
					}
					public Date getStartTime() {
						return startTime;
					}
					public void setStartTime(Date startTime) {
						this.startTime = startTime;
					}
					public Date getEndTime() {
						return endTime;
					}
					public void setEndTime(Date endTime) {
						this.endTime = endTime;
					}
					public String getCreate_user_id() {
						return create_user_id;
					}
					public void setCreate_user_id(String create_user_id) {
						this.create_user_id = create_user_id;
					}
					public Date getModify_time() {
						return modify_time;
					}
					public void setModify_time(Date modify_time) {
						this.modify_time = modify_time;
					}
					public String getModify_user_id() {
						return modify_user_id;
					}
					public void setModify_user_id(String modify_user_id) {
						this.modify_user_id = modify_user_id;
					}
					public UserRole getUser_Role() {
						return user_Role;
					}
					public void setUser_Role(UserRole user_Role) {
						this.user_Role = user_Role;
					}
					public SysDept getSysDept() {
						return sysDept;
					}
					public void setSysDept(SysDept sysDept) {
						this.sysDept = sysDept;
					}
					@Override
					public String toString() {
						return "SysUser [user_id=" + user_id + ", account=" + account + ", password=" + password
								+ ", username=" + username + ", lock_num=" + lock_num + ", error_num=" + error_num
								+ ", sex=" + sex + ", status=" + status + ", user_type=" + user_type + ", dept_id="
								+ dept_id + ", mobile=" + mobile + ", qq=" + qq + ", wechat=" + wechat + ", email="
								+ email + ", idno=" + idno + ", style=" + style + ", address=" + address + ", remark="
								+ remark + ", is_del=" + is_del + ", create_time=" + create_time + ", startTime="
								+ startTime + ", endTime=" + endTime + ", create_user_id=" + create_user_id
								+ ", modify_time=" + modify_time + ", modify_user_id=" + modify_user_id + ", user_Role="
								+ user_Role + ", sysDept=" + sysDept + "]";
					}
					
	

     }
